Window.onAfterClose event


Event executed just before destroying the window.

newWindow.onAfterClose=function(win_id){
    alert('Closed');
};