moved popover stuff to ajax