In this version, the window will pop up the alert when you’re about to leave/reload the page if your data has not been saved yet.