jquery: synchronous behaving jquery ui dialog?
<p>when clicking a link, I have a jquery ui dialog prompted whether the user would like to navigate to the next page or cancel this navigation request.</p>

<p>the problem is dealing with AJAX web applications or javascript in href where it doesn't have a clear href URL location value set.</p>

<p>How can I create an synchronously behaving jquery ui dialog that asks for user input before navigation, and if user inputs cancel, the no navigation would result.</p>

<p>I have done this with synchronous AJAX requests but this is a problem for jquery UI dialog.</p>
