Fix 2645 form submit delegation

Fix #2645 form submit delegation.