New document and save document implemented - issue #5