Resource updated but no confirmation window pop up upon closing designer

When a resource is updated, closing the designer displays a pop up message to confirm exit. This doesn’t seem to be consistent across all windows.
Any tips on how to display the “Are you sure you want to exit?” when resources have been modified but not saved?
Running version: 7.9.9
Thank you.