Hi,I have a dialog dijit with id="aboutUs". I would like this to show when the application loads. The onHide event (first event) triggers another event (second event), as shown in the code below. I would like the second event to occur only after the initial load. If user opens up this diaolg again while using the application, the second event should not be triggered. To enable this, I included the "onHide" function only in the "init" function as shown below, but the second event is triggering any time I close the dialog. How do I fix this?function init(){
...
var dlg = dijit.byId("aboutUs")
dlg.show();
dojo.connect(dlg,"onHide",function() {
eventStartAppSlide.fire({
type : 'slideUnit',
data : "imgWrapperPullOut"
});
});
...
}