Fixes #5277: use an ajax call for what happens on group click
Merge pull request #584 from fanf/bug_5277/use_ajax_call_for_group_form

Fixes #5277: use an ajax call for what happens on group click