Remove a javascript error with the Node.contains()

Hi!

I had a JavaScript error, when I was testing the video demo.
The Node.contains() was used with a string in arguments instead of an element.

Mainly, I have no idea why you are doing this test.
modal.focus() is call just one time, and we know that modal.activeElement is the hashElement.

Cheers,
Thomas.