I didn´t manage with modebar-btn… Do you have an example of an event catching from the modebar ?
I think I will add some flags in the button.js source code and test against them in my code
It is really amazing how these click events are very well hidden somewhere ! I cannot find them in the document neither the window nodes…