Add territory area calculation before save.