title: Call custom confirm dialog in Ajax.Beginform in MVC3
body: <p>I want to be able to use a custom jquery dialog or at least be able to change the text of the buttons from OK/Cancel to something else when using the AjaxOptions.Confirm Property in the Ajax.Beginform function.  Like this:</p>
  
  <pre><code>&lt;div&gt;
      @using (Ajax.BeginForm("Function", "Controller", new { id = theId }, new AjaxOptions
          {
              HttpMethod = "POST",
              UpdateTargetId = "theForm",
              InsertionMode = InsertionMode.Replace,
              LoadingElementId = "iconGif",
              OnBegin = "OnBegin",
              OnFailure = "OnFailure",
              OnSuccess = "OnSuccess",
              Confirm = "Are you sure?" //TODO: Confirm with different dialog?
          }, new { id = "feedback-form" }))
      {
          //Some stuff
          &lt;button onclick="derp()"&gt;Submit&lt;/button&gt;
      }
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>Is there a way to achieve this with Ajax.Beginform through the AjaxOptions.Confirm Property?</strong></p>