title: If I press cancel on confirmation box, it closes page which I don't want happening
body: <p>i have an confirmation box where user can select OK to continue or Cancel to close box and stay on same page. Problem is that in all browsers except for Opera if I click cancel in the confirmation box, then the box closes and the user stays on the same page which is fine, but in Opera if I click on cancel it would close the page as well.</p>
  
  <p>What do I need to include so that in Opera if I click cancel in the confirmation box, it would close the box but does not close the page?</p>
  
  <p>below is code: </p>
  
  <pre><code>               function showConfirm(){
  
               var confirmMsg=confirm("Make sure that your details are correct, once you proceed after this stage you would not be able to go back and change any details towards your Session." + "\n" + "\n" + "Are you sure you want to Proceed?" + "\n" );
  
               if (confirmMsg==true)
               {
               submitform();   
               }else{
               parent.close();      
  
  }
  }
  </code></pre>
  
  <p>Thanks</p>