[refactor,ux][s]: use popover content in country census as in city and factor out into common.js.