pdf name text box cleared once the pdf report is generated