I an currently developing an app that involves user to change some of the data on the page, to make sure the user would save before moving on to other pages, I used beforeRo