using target element as popover template