render new document instead of showing the one created