EDX-513: Fix confirm when click SUBMIT to CANCEL.