The gform_abort_submission_with_confirmation filter determines if submissions are aborted without saving the entry.