Creates a document and gives the URL of it.