Added form for editing custom territories