Create new document via templateManager. Closes #47