Fix dialog box.