Redirect to referrer, confirm_form
I think you answered yourself :).  If you want to redirect back to the page the user invoked it from, set $path to current_path() when calling confirm_form.  Otherwise set $path to wherever you want them to go on cancel.