Hide resource popover when resourcepath is empty.