Fixed popover hide event bug

Fixed popover hide event. Fix allows the user to hide the popover via
Esc key and by clicking outside the popover container.