Better UI for document linking