Fixes #3524: remove form group if deleted
Merge pull request #185 from VinceMacBuche/bug_3524/group_form_still_open

Fixes #3524: remove form group if deleted