Maybe it would be better for the button to have an id rather than being identified by it's position within the page hierarchy?