[WIP] Updating edit doc page

Updates to the document editor page. Should be ready shortly.