Added error handlers to ajax requests on the Case screen. #1217