Fix bug where app exits anyway with unsaved changes on File->Exit if user presses Cancel

Pls review
@burtonjb