pdfs can be now opened via a dialog