add extension api to show/hide popover on toolbar.