Popup menu for tabs

basic functionality