Click on a document to open or save it