popup directive ref.