added document as a pane next to history in edit page