Is dialog closedby a bit broken on touchscreens?

I use them for the options and links buttons on this little project.

https://storage.googleapis.com/maze-playground/game-6359710ce999ee409d180cadaf8b79fe88216833.html

It works as expected on mouse devices.

On Android Chrome and Android Firefox tapping on the backdrop activates the element beneath. So if you tap `options` and then without moving your finger tap again to dismiss it, it doesn't dismiss.

It doesn't work at all on iPhone Safari as that doesn't support the closedby attribute.

#html

Maze