Fix popover when using append.