implementation of dialog_mod with Widget2