Fixes #4366: Group form now closes when deleting the group

www.rudder-project.org/redmine/issues/4366