Track the specific key and modifier identities from the initial keydown to construct a robust release matcher. This ensures hold dictation stops reliably on keyup, even if modifier state flags have already dropped or if keys are released in a different order.