If you go to the widget Exit Intent (Wait Don't Go): https://marketplace.mendix.com/link/component/21721 and press the tab releases you see an older version with the comment that it even works with Mx8. Have you tried that one?
Regards,
Ronald
[EDIT]
And on a side note you might want to upgrade to a later version because of security issues. See release notes: https://docs.mendix.com/releasenotes/studio-pro/9.24/#92431
Hello Sridevi,
In the community commons module there is a java action called objectHasChanged.
You can use this action to validate if the object value(s) in memory correspond with the ones from the database before opening another page. If it has changed you can offer a popup with the notification you want and with the actions to either save or discard changes. With proper use of subflows you can create re-usable solution.
This solution might cost a bit more work to create but has less dependencies (community commons).