Click on a link to open the document