Support adding students to a cohort

TNL-163
I think it happens when you reload the page (that the listener is now registered more than once).