When quitting, only ask to save if unsaved.