JQuery zapobiegają bulgotaniu zdarzeń
$('myclass').bind('amodaldestroy'), function(event) {
....does something....
event.stopPropagation();
});
Nemesis
$('myclass').bind('amodaldestroy'), function(event) {
....does something....
event.stopPropagation();
});