swapped popover for modal