added open document with custom url