Unsaved changes confirmation when quitting app

I really like this software, but I think it’s missing one critical feature almost every app has. When you close the app, and have unsaved changes, it would be nice if the app would ask you if you wanted to save, or close without saving.