Oh so if I understand well, the search will look for the building, once the building is found, he will apply the teleport effect ... BUT because i setted the effect to "caster", he will apply it on my hero ... But for the teleport destination, did I made it right to apply it to "effect (search) - Target unit" ?
Also, why the validator on the teleport effect ? The teleport effect will check if my hero is the building ?
So if I listen what you told me, I now have only the periodic effect for the teleport ?
Note: Thank you very much for your help, you explain very well, and it's greatly appreciated !:)
Edit: Aaaaaah I did it, but now my hero is teleported back to where he was 1 second before when I move ... Gonna try to mess around to see what's wrong :/
Edit 2: Damn can't make it work :( Can you take a look at those pictures, and tell me what I did wrong ?
Teleport Effect:

Search Area Effect:

Area +:
Photoloss Regular Shmoe@MacSC2: Go
You want the Search to apply the Teleport effect, and you should probably place the Validator on the teleport effect too. This sounds rather counter-intuitive, but the internal logic is this:
As an example, consider Ability(effect-target)->Search(filter: exclude player, ally, range 10)->Damage(amount: 100, validator: IsHatchery)