Confirmation Dialog Box when Closing an Image

There is a confirmation dialog box that pops up 97% of the time when I cam closing an image asking if I am sure I want to close the image and reminding me that any unsaved changes will be lost. IF I did NOT save the image, that would be a fine, gentle reminder. However, I get that confirmation box even if I just saved the image. Perhaps it is only my opinion, but I’d prefer to either:
A) Completely turn off the confirmation dialog.
B) the Confirmation dialog appears ONLY IF the image had not been saved.
To me, merely a minor inconvenience in an otherwise amazing piece of software!
Thanks for your consideration

We’ll try to resolve any issues causing the program to incorrectly think there are unsaved changes. As a mitigation, would the “close images after saving” setting in preferences help?