Closing of tab does not ask for saving the changes
On editing a work object information and then trying to close that, it should ask for saving the changes in pop up. But it does not ask for any confirmation.
Steps to Reproduce
1. Open any work object.
2. Edit the information in it and close the tab.
It should ask for the confirmation to save the information in pop up, but it does not.
User had a script written in userworkform rule which was overriding the pega.u.d.gDirtyOverride flag, thus disabling the dirty prompt.
Remove the script from userworkform to resolve the issue. The script can be added to some conditions locally instead of userworkform, if required.