New unit type dialog works, cancel works