Enhance save file and new file to check the sate of saving files or
changes to data before save or new project or close the project