Bug 344114 [Compatibility] When closing all perspectives, close other perspectives before closing the selected one