Cleanup dialogs with error suppressing when a user is forcibly logged out.
When a user is logged out by an admin or by a network communication error, dialogs that are open at that time remain open and closing them manually usually results in an error being displayed.