on reset only if ui doesn't exist.
Add template change handler for template select.