Fixed Bug 313485 - Improper message shows up when renamed a file with
some unsaved change.

Show up a dialog asking user to close unsaved file.
Format code
Merge pull request #8 from yuxuandai/Luna

Bug 313485 - Improper message shows up when renamed a file with some unsaved change