Add a popup that ask user if he want to save before quitting. This commit fix issue #2.