Got post new document working