title: return true or false based on button clicked in pop up window
body: <p>Okay so with jQuery I've intercepted the .submit() of a form and I want to create a custom pop up window that shows them the data that the entered and asks them to confirm it. If they click the confirm button true is returned to .submit() and they continue but if false is pressed then they should not move on and have a chance to change their entry.</p>
  
  <p>I already have the pop up window being made fine with the contents of the form being displayed and the buttons being shown. What I'm not sure how to do is bind the click functions of the buttons so that if one is clicked it returns false to .submit() and if the other is clicked true is returned to .submit()</p>
  
  <p>If you need me to post some of my code just let me know.</p>
  
  <p>I don't want to use a confirm dialogue since i would like it to be a custom pop up window.</p>