add popcb to $.inside