fix for #124 -- On close, prompt to save, not continue