adds functional add name and delete name form fields to form