Problems with Dojo

Problems with Dojo

Hi,
when I create a jQuery-Dialog and fill it with a complex Dojo application (not iframe), this is not working anymore : 


dojo.connect(this.wTree, "onClick", function (item) {
  thiz.onModeChanged(types.FILE_PANEL_LAYOUT.TREE);
});


and this also not : 

this.wThumb.domNode.onclick=function(){
  thiz.onModeChanged(types.FILE_PANEL_LAYOUT.THUMB);
};

An idea how I can get my pointer events back ? When create the modal dialog with something else like MooTools-Squeeze-Box its all working. 

Is there a tweak to tell jQuery not to touch my pointer events ? 

thank you.