Manage tab+change of templates.