How To Close Fancybox On Submit

i have a problem that i have a form on fancy box but when i submit it it opens the action back in the fancy box, how could i do that when i submit the form the fancy box closes and the action open in the browser normal page , any idea?? tnx in advance… :)