resize support - newdialog window