Using an interface to stop switching tabs if an important operation is active (for now just migrations