I was able to disable the confirmation dialog when closing an image. I successfully did so at a previous version of GIMP but apparently an update to GIMP 2.8.14 (on Arch Linux) disabled it and I can't find the setting anywhere.

Please help me find the setting or the changeset which removed the functionality.