Add a popup menu for IResouce