using appendTo with ref to the InputGroup for the Popover so that the popover width will depend on the whole input group
appendTo
InputGroup