Settings → Dialogs → "Close a dialog by clicking outside it" (off by default,
so a stray click never throws away a dialog's choices). When on, a click
pressed and released on the dimmed backdrop closes the dialog like Esc and
doesn't reach the panels below. A drag that ends outside (a slider pulled past
the edge), a click that only closes a dropdown, and the click that opened the
dialog keep it open. The import review never closes this way.
The press and release are read from the raw pointer events: egui clears the
press origin on release, and a scripted click is a single frame.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>