Adding a new-key value pair resembles updating, with the difference that the key, like "window" here, is not yet in the dictionary.

Make sure to pick ticket["window"], followed by =, and finally True.