Popup menu dynamic build