Closing the Pop-Over on action

I am using the popover plugin to display an optin form. Is there any way i can have the popover close once the form is submitted? i have the confirm page open in a new window, so the popover just sits there. Thanks.