dialog box correction