Implement ref actions popup for ref labels