Push key entries into a rule array on container, deduplicating by key
name, and return a cleanup function that removes exactly the entries that
were added by this call.
Used by allowModal, penetration, and stop to
eliminate the repeated bookkeeping pattern across focus-target and
layer-level branches.
Push key entries into a rule array on
container, deduplicating by key name, and return a cleanup function that removes exactly the entries that were added by this call.Used by
allowModal,penetration, andstopto eliminate the repeated bookkeeping pattern across focus-target and layer-level branches.