Ask saving modifications on window close (Closes: #8)