Added submit event triggering