I fixed the bug that caused to ask for the deletion of a second model group on deletion of the first model group.