using select2 for drop downs
collection add activity m2m connect will not work
modified the function