confirm Selection
Promotes the pending selection to confirmed and returns it, or null when the bounds are not satisfied.
Returning the set rather than invoking a stored callback keeps the state holder free of the caller's lambda and makes the commit point explicit at the call site.