I don't know why (I'll investigate) but if I use hidden attribute the buttons are not in the correct position.

So I'll investigate why this behaviour and fix it and as suggested, in the worst case, change it to a selector ;)

Thanks for your help