Removing locals for actions (part 2)

These were being passed to a renderer and what resulted was a massive
locals dom attribute for each button.