When an attempt is made to close a document that is modified and not saved, Save Prompt dialog box appears. It comprises of list, containing modified documents, and buttons you can use to proceed.
Yes
Click Yes button to save selected documents and model. If a document is not implicitly named, a Save dialog will appear where you can give a name to the document.
No
Click No to discard all changes made to the documents you are closing.
Cancel
Click Cancel button to return to IDE without closing any of the documents.