Basic warning message when closing with unsaved changes.  Fixes #19 (to the extent that the modified flag propagates correctly).