anchor popover to dialog