more fixes on dialogs