jQuery Modal Dialog - I must be missing a simple thing
<p>I have a php page that needs a modal confirmation.</p>

<p>When clicking "Please confirm" on the dialog, I want the page post to continue. How in the world can I accomplish this?</p>

<p>Here is my js code so far:</p>

<pre><code>   $(document).ready(function() {
    var $dialog = $('&lt;div&gt;&lt;/div&gt;')
        .dialog({
            autoOpen: false,
            title: 'Are you sure?',
            modal: true,
            closeOnEscape: true,
            buttons: {
                "Please confirm": function() {
                 // want to continue the post that was interrupted 
                 // by this dialog
                $("#account_mgr").submit();
                $( this ).dialog( "close" );
                },
                Cancel: function() {
                $( this ).dialog( "close" );
                window.location = "/account_mgr#MySubscription";
                }
            }
        });

//  $('#btnSubscription').click(function() {
    $('#btnSubscription').live('click', function() {
        $dialog.dialog('open');
        return false;
    });
});
</code></pre>
