To close a document:
Another way to close the document is to simply click 'x' in the top right corner