added ability to select from PDFs (as well as pages) from the link custom field