add nice error response for modal HttpResponseBadRequest cases