on-leave-intent (npm): A script to detect if the user is leaving the page and calls a function.
Keywords: modal|leaveintent|leave