Add a loading alert when the PDF is downloaded. Closes #553