@Override
public void dispose() {
subManager.setVisible(false);
PlaceholderToolbarContributionItem actionToolbarPlaceholder = new PlaceholderToolbarContributionItem(ToolConstants.ACTION_TOOLBAR_ID);
subManager.add(actionToolbarPlaceholder);
PlaceholderToolbarContributionItem modalToolbarPlaceholder = new PlaceholderToolbarContributionItem(ToolConstants.MODAL_TOOLBAR_ID);
subManager.add(modalToolbarPlaceholder);
getActionBars().updateActionBars();
super.dispose();
}