dialogs work as they should