Trying to download the .pdf file generated, and then redirect the user to the thank you page