fix of dialogs