Why is this needed when you can just set the item's parentMenu to tabContextMenu?