Correct the dialog box