PDF export dialog now partly functional