vairable hasdialog