Add events for ajax form submit