Fixed the save-on-exit menu to properly close on the 'no' option