Fixed #4415 Show a prompt when user navigates away from insert page without saving
Signed-off-by: Shivam Dixit <shivamd001@gmail.com>
Complete the bugfix

Signed-off-by: Marc Delisle <marc@infomarc.info>
Merge pull request #2 from lem9/patch-2

Complete the bugfix
Added comments to bug fix #4415
Signed-off-by: Shivam Dixit <shivamd001@gmail.com>
Merge pull request #1202 from shivamdixit/bug_4415

Fixed #4415 Displaying prompt when user navigates away from page