wire up permalink button