handle switch-panels: temporarily switch to all-workspaces-mode if not already active