Html view templates : fix crash when F5 on edit features