Fix the user selection popup
The result of clicking on a button should now be the same no matter where you click on it.
Now using a closure instead of attributes because the attributes can be hard to find when the button is not the primary element beeing clicked, and the element beeing clicked changes.