I set a PDFDocument with some links to a PDFView with the Apple\'s PDFKit library. When the user selects an item at the pdf I execute some code. I listen to this with an observe