I am using a kendo popup window as a form to edit items on a grid. If there are errors with defining the properties if should return to the window with error messages. This is Controller action. Currently if the modelstate is not valid it returns a view without and styling (just Html)> If I return View instead of Partial the page loads correctly but as a full page and not a window

public ActionResult EditActivity(EditActivity model)
{
var activity = _uow.Activities.GetById(model.ActivityId);
activity.Phone = model.Phone;
activity.Fax = model.Fax;
activity.LastUpdateDate = DateTime.Now;
activity.LastUpdatedBy = _sessionHandler.UserId;
if (ModelState.IsValid)
{
try
{
_uow.Activities.Update(activity);
_uow.Commit();
TempData["SaveResultMessage"] = $"Changes to Activity : {activity.ActivityName} have been saved";
}
catch
{
ModelState.AddModelError("Save", "Error occurred on save.");
}
return RedirectToAction("Index", "DepartmentActivity", new
{
id = activity.DepartmentId,
});
}
return View(model);