Link code existence check on creation.
When folder deletes, delete embedded links also.