The old code was supposed to open a modal to change user roles but it was written for twitter bootstrap version 2.x. I fixed the code for tbs version 3