Fix modeles dialogs problem