When switching workspaces, skip calling openRepo if the current activeView is "management". Previously a session.activePath would be opened even when the user was on the Management/dashboard view, causing an unwanted navigate-away. Now a keepDashboard flag prevents openRepo from running in that case, preserving the dashboard state.