Preserve pending preference edits through the existing OK and Cancel actions. Co-authored-by: Codex <codex@openai.com>