title: Redirect to the respective links if user user confirms it with a bootstrap dialog box
body: <p>Firstly, javascript confirm is not what I am looking for here.  Please read full.
  i.e. putting a onClick attr to every link with a function passed to it which confirms the user by alerting a normal system dialog box is not what I want.</p>
  
  <p>I've used bootstrap's dialog box instead of the regular dialogbox provided by the system.</p>
  
  <p>here are the several delete buttons for different items</p>
  
  <pre><code>&lt;a href="www.mysite.com/product/1" data-target="#myModal"  data-toggle="modal"&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt; Delete&lt;/a&gt;
  &lt;a href="www.mysite.com/product/2" data-target="#myModal"  data-toggle="modal"&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt; Delete&lt;/a&gt;
  &lt;a href="www.mysite.com/product/3" data-target="#myModal"  data-toggle="modal"&gt;&lt;i class="icon-remove"&gt;&lt;/i&gt; Delete&lt;/a&gt;
  </code></pre>
  
  <p>Below is the markup for showing modal using Bootstrap.</p>
  
  <pre><code>&lt;div class="modal small hide fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
    &lt;div class="modal-header"&gt;
      &lt;button type="button" class="close" data-dismiss="modal" aria-hidden="true"&gt;×&lt;/button&gt;
      &lt;h3 id="myModalLabel"&gt;Confirm Delete ?&lt;/h3&gt;
    &lt;/div&gt;
  &lt;div class="modal-body"&gt;
    &lt;p class="error-text"&gt;&lt;i class="icon-warning-sign modal-icon"&gt;&lt;/i&gt;Are you sure you want to Delete the Category and all its associated Properties?&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="modal-footer"&gt;
      &lt;button class="btn" data-dismiss="modal" aria-hidden="true"&gt;Cancel&lt;/button&gt;
      &lt;button class="btn btn-danger" data-dismiss="modal"&gt;Delete&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The Dialog box is showing correctly, but I am unable to redirect to page corresponding to the links above after pressing the delete button in the dialog box, the modal just dissappears without redirecting. </p>