Dialog changes to Accept a validation error from the api.