Keep a duplicate value checked when any eligible row matches the current
criterion. Stop processing outgoing popup state when a form button switches
the active window during grid interaction.
Add regressions for fill/font color duplicates, other-column exclusion,
unchanged Apply, and a real button press preserving another window's search
and checkbox edits.