Closes the document of the active viewer.
A Promise that resolves when the document is closed.
await instance.UI.closeDocument(); Copy
await instance.UI.closeDocument();
Closes the document of the active viewer.