Short circuit quit in case no files have been modified when quitting
Fix aborting save process when quitting