add methods to access data from QDialog window