pausing execution in custom confirm box
<p>I want to create  a custom confirm box like this</p>

<pre><code>var should_I_move_forward = myconfirmbox();
</code></pre>

<p>myconfirmbox will show a popup with Yes/No button, I want to pause the execution here until user hit yes or no, how can I achieve it? </p>

<p>i.e. same functionality as of js confirm method buy my own UI.</p>
