No click-event after postback anymore (ASP.NET)

No click-event after postback anymore (ASP.NET)

Hello there,
I want to create a ConfirmDialog which displays by clicking on a button (postbackButton).
The Dialog has two Buttons (cancelButton and continueConfirmation).

User actions:
1. By clicking on the postbackButton the dialog appears and the postback will be cancelled.
2. a) By clicking on the cancelButton, the dialog disappears.
    b) By clicking on the continueButton the postbackButton will be triggered.


Below you can see my jquery script inside of the function 'loadConfirmDialog'.
  1.         function loadConfirmDialog() {
  2.             // Configure dialog
                jQuery('#confirmDialog').dialog({
                    autoOpen: false,
                    width: 400,
                    modal: true,
                    resizable: false
                });








  3.             //Open dialog after clicking on confirmButton
                jQuery('#confirmButton').click(function () {
                    jQuery('#confirmDialog').dialog('open');
                    return false;
                });






  4.             //Trigger postbackButton after clicking on continueButton
                jQuery('#continueButton').click(function () {
                    jQuery('#confrimDialog').dialog('destroy');
                    __doPostBack('postbackButton', '');
                });






  5.             //Close dialog after clicking on cancelButton
                jQuery('#cancelButton').click(function () {
                    jQuery('#confirmDialog').dialog('close');
                    return false;
                });       




  6.        }

And here is my markup code
  1.          <div id="confirmDialog" title="Warning" runat="server">
                <p>
                    <span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
                    <span id="messageSpan" runat="server">
                        Are you sure?
                    </span>
                    <a id="continueButton" runat="server" href="#">Yes</a>
                    <a id="cancelButton" runat="server" href="#">No</a>
                </p>
            </div>











  2.         <a id="postbackButton" runat="server" href="#">No</a>


  3.         <script type="text/javascript">
                loadConfirmDialog();
            </script>

Problem:
After clicking on continueButton the postback will be executed and de page reloaded. But now the postbackButton don't trigger anymore and so the dialog will not appear anymore.

With other words the first time all goes fine and the second time the click-event of the postbackButton does't trigger anymore.

I hope you understand my problem and can help me. If more inputs are required, please tell me.

Any answers are greatly appreciated.

Best wishes