Refactored modal behavior when adding/removing 0 user/group
Merge branch 'refactoring-for-unit-tests' of https://github.com/claroline/Claroline into refactoring-for-unit-tests