ENH: $.template accepts dispose event

2 jobs for template-dispose in 2 minutes and 29 seconds