add external api to let background page to notify popover.