Umm.. my w.a.g. is that in 'Edit Pref.' mode, any Exit is via that script
..thence returning to browser-rulez.
I could be missing the browser's role, but Why-of-late? after an eon of No Sweat? (and older browsers..)
My presumption is that, via exiting brute-force that script is left 'hanging-til-next try, say? or ...
--> dev/null (or wherever disappointed scripts go to die silently)--to use the technical terms.