setTimeout after .click
<p>The dialog won't show up after I pressed button.</p>

<p>Any solutions?</p>

<pre><code>setTimeout(function() {
$(".tile").click(function() {
    $("#dialog").dialog(); ("Game Over" + score)
    gameRunning = false;
    $("#dialogbox").text("Your score:" + score)
}, 60000);
</code></pre>