"Cancel" button fixed on document creation when there are no DocumentContents (deletion of documents will be implemented later)