Use custom dialog for error messages