we have two template event callbacks: one for theforms submit event, and one for hte delete links click