Made edit link on viewTag work