Make sure the title and message for getErrorDialog are properly escaped when displayed.