New "onLeave" event.