Changed UI of document page to support new document relation semantics