team form distinguishes create and edit and adds cancel buttons