Adds a native window.confirm() inside onSubmit, after the uploads-in-flight guard and before the submitting-state flip. Runs only after react-hook-form validation passes, so users who hit Submit on an incomplete form still see the existing field-level errors via onInvalid rather than a confusing "are you sure?" prompt. Cancelling leaves the form state untouched.