Confirm dialog on submit returns to page

Confirm dialog on submit returns to page

I am using jquery confirm dialog instead of the usual javascript confirm() so that I can easily format the buttons on the alert. After that I want the submit the form on the page when users clicks the accept button on the confirm alert. However, after submitting the form it redirects page back to the form. That is not what I want, it should submit and allow the page to continue. What I am I doing wrong?

$(function() {
    $( "#dialog-confirm" ).dialog({
      autoOpen: false,
 resizable: false,
      height:400,
 width: 500,
      modal: true,
      buttons: {
        "I Accept": function() {
          $( this ).dialog( "close" );
 //$(this.form).submit();
 document.SubsForm.submit();
        },
        "I Decline": function() {
          $( this ).dialog( "close" );
        }
      }
    });
$( "#Print_Package" ).click(function() {
currentForm = $(this).closest('form');
      $( "#dialog-confirm" ).dialog( "open" );
 return false;
    });
  });
  </script>