Introduce ModelStateDictionary.TryAddModelError to manage adding model
errors without throwing.