The dialogs work correctly