No Events from Modal Dialogs

I’m not getting any events when using a dialogs. I’m trying to use the Dojo Toolkit Dialog control, and while it does render okay, I can’t getting any events from the controls, eg. OK, Submit, Yes, No, etc.

Also, it seems that the events I do get appear under the .body template and not under the actual controls. Is there a way to force the event?

Hello. I get the same situation. No events. Did you find solution?

I found the solution. I just should use JQuery in Template.yourtemplate.onRendered

$('your_button').click(function(event) {
        do anythink you want