Help with showModalDialog together with Selections
<p>I need to use the showModalDialog method to display a message to a user, which will also need to have two buttons, a "Yes" and "No" but unsure how to approach this method.</p>

<p>I am using IE8 and unsure how to declare this and how I need to assign this that will also cater for both "Yes" and "No" options.</p>

<p>If "No" is pressed, I basically want the showModalDialog closed, with no further action required by the user.</p>

<p>If "Yes" is pressed, I then want it to go off and call a javascript function.</p>

<p>I have looked online but I can't seem to find any examples relating to what I am after here.</p>

<p>Would really appreciate any help with the above, links to good examples or an example the relates to my requirement above.</p>

<p>Thanks.</p>
