fix modalDlg