You have a Close button on a document and one on the application. The Close button on a document closes a document and will ask for the file to be saved if it has not been saved already. It will not close the application. The Close button on an application will close the application and ask for all files that are not saved to be saved. So there is very little difference between the two Close buttons.
Chat with our AI personalities