Added classes for implementation of popup menus on the tab controller