Set default agent mode

Add an option to configure the default mode of an agent when opening a new tab. For example, I would like the Ask mode to be selected automatically instead of having to switch to it every time. This would improve UX.