If you have unsaved changes, you will be prompted to confirm (or save) before quitting.