Show a dialog box with error messages