[]
type CloseDocumentInfo = object;
hasUnsavedChanges: boolean;
Indicates that a document has unsaved changes
optional id: string;
If an existing document is to be overwritten on saving, the correct id should be specified explicitly
isNew: boolean;
Indicates that a new document is being saved for the first time
name: string;
The correct name must be specified explicitly