Bug fix in prtUiStructDlg