XR Interaction Toolkit: How to cancel teleport?

Creating an Escape Room-ish game. After they have solved all puzzles, a space will open to which they can teleport. The idea is that if they try to teleport there, instead of actually teleporting, I want them to get some sort of message they have finished the level.

So how can I stop them actually teleporting there? What I’ve done so far is create a Teleportation Area that only becomes active after all puzzles have been solved. In the “Teleportation Area” component, under “Interactable Events”, I’ve set it up that whenever the “Teleporting” event is fired, my script is called.

So in this script, can I actually cancel the teleport? Or do I need to do it someplace else?

To avoid duplicating the content, I’ve posted one possible solution here:

TLDR;

protected override void OnSelectExiting( SelectExitEventArgs args ){
    args.isCanceled = true;
}