html javascript jquery sto propagation code example
Example: jquery prevent event bubbling
$('myclass').bind('amodaldestroy'), function(event) {
....does something....
event.stopPropagation();
});
$('myclass').bind('amodaldestroy'), function(event) {
....does something....
event.stopPropagation();
});