Fix: Can't edit somebody after sorting the index

We were using .click instead of using .on which will ensure that behavior
remains intact after the DOM is manipulated.