We need to implement a feature that prompts users with a dialog box if they attempt to close the page without saving their data. This will help prevent accidental data loss and improve user experience.
Tasks:
Detect when a user attempts to close the page.
Display a dialog box warning the user about unsaved changes.
Provide options to either stay on the page or proceed with closing.
Description:
We need to implement a feature that prompts users with a dialog box if they attempt to close the page without saving their data. This will help prevent accidental data loss and improve user experience.
Tasks: