ask to save modifications on close/quit