add popover for preview