FIX: if type has not been selected, do not attempt to create a new field