warning-before-unload (npm): Alerts the user when leaving a page without saving the changes.
Keywords: beforeunload class|warning on page leave|warning beforeunload|alert on page leave|beforeunload|class|javascript|onpageleave|usability