why does my dialog box only work one time?
<p>i have a dialog box and in it, it has two buttons, one that continues and one that cancels. </p>

<pre><code>$(document).ready(function(){
$("[name=resetPwd]").click(function(){
    var id = $(this).attr("userid");
    var email = $("[field=emailAddress].[userid="+id+"]").text();
    var name = $("[field=firstName].[userid="+id+"]").text();

    var message = $('&lt;div&gt;&lt;/div&gt;')
    .html('You are about to reset the password for:&lt;br/&gt;'+name+'.&lt;br/&gt;This will send an e-mail to:&lt;br/&gt;'+
            email+'&lt;br/&gt;&lt;br/&gt;&lt;input id="_continue" type="button" value="Continue" /&gt; &lt;input id="_cancel" type="button" value="Cancel" /&gt;')
    .dialog({
        title: 'Reset Password'
    });

    message.dialog('open');


    $("#_cancel").click(function(){
        message.dialog('close');
    });

});
</code></pre>

<p>it works just fine, (the first time) all my data is there, when i click cancel, it closes, but if i try again cancel doesnt do anything anymore. does anyone know what im doing wrong? please and thanks</p>
