Not sure what the issue is. I ran your test script...all of the buttons seem to work as expected.