Initialize new document from template