TemplateEditor: switching tab reload the template
How to reproduce:
- visit a template
- click on 'edit'
- go to properties tab
- add a property (you will notice the number of properties on the tab is incremented)
- visit format tab (you will see the number of properties on the tab is decremented)
Reported by @okarras
Edited by Kheir Eddine