modified the http error dialog