creates a modal for the pdf rather than using the resume download page