popover takes model instead of visible.