Load game when modal button clicked

I put my game in a bootstrap modal div and would like the game to load only when the user clicks the modal button. Currently, the game loads when the page with the modal button is loaded.

I studied this example (Phaser 3 Examples) but don’t want to have the user required to click the screen.

Unfortunately, now I’m getting “this.scene is undefined” on “this.scene.restart();”

Maybe I did something else wrong. I’ll check.