uniqueName validatin with alert done