dialog now complains when name is too short