Added missing return this to hide() for popover

Also fixed a bug where the hidefunction for Tooltip was used instead of
the one for popover.