Does this find the first instance of the button? I could see a situation where this could cause confusion/problems because it's so general.

It made sense in the other context, when you have a list with identical DOM element tags, but here I'm not sure.

Just an idea, possibly just paranoia.