Add message box after generating pdf

Add message box to tell user that the pdf file generate successfully