You don't enter button object when you clicked it. This is not changed on FM15.
It is a good thing that this is not changed. Some UI's need the focus to stay put in a particular field when you click a button elsewhere on the layout.
The workaround that predates button bars is to set up the button with a value in the script parameter that tells the script what button was clicked. I presume something like that is possible here.