When closing a window with unsaved changes in the editor, the save confirmation dialog needs to be dismissed twice before the application quits: 
When closing a window with unsaved changes in the editor, the save confirmation dialog needs to be dismissed twice before the application quits:
