Move resourcePathObserver to resource-popover model.