hide function exposed in popover scope