can anyone please tell me how to display an error message in a new dialog box?