Added modification to pqRecordEventsDialog