add confirmation when attempting to overwrite an existing key