Closes a document.
Call notesUIDocument .Close( [ immediate ] )
immediate
Boolean. Optional. If True, the document is immediately closed. If False, closing the document may be delayed. The default is False.
If the user has edited the document, Notes displays a dialog box asking if the user would like to save the changes.