Add validation on editing link