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