Fail safe if prompt cancelled

If prompt is cancelled, a random name will be generated.