Need to add logic/function on event when window is hide or close. If function return false then don’t need to close/hide. What event could I using?
...
modal: true,
close: true,
on:{
onHide: function(){return false}
},
this code not working: window is close on this event