use a popover to show resource view