[FIXED] Closing Designer should warn if unsaved changes

Right now if I open up a project, make changes, and the close the Designer, there is no warning message that I have unsaved changes. I think it would be more user-friendly to prompt me at this point and ask if I want to save - otherwise, there is a very real risk of discarding changes I didn't want to.