Add functionality to print button in report dialog