The popup error message dialog is working