allow selection of reference number in pdf export error message