in the delete function, the template did not refer to its variable for
the ModelName.