Which preposition are we supposed to use - on or upon.
i.e. "On/upon closing the door, set the alarm on."
Google NGrams states that on+gerund is still used more often than upon+gerund (tried with
closing - the diagrams were a bit different, but the overall result was the same).