Pop up device does not work via verse

Well if u notice, first i show pop up for every one and than hide for one and show him another. Ref on devices in if statement i guess null check. But this is test code, i was editing last version trying to find solution. When i will get back to my Project i will check out in which branch pop up is has to show