Fixed: CPPopover not closing in some browsers

In browsers without support for _DOMElement.removeEventListener CPPopover throws an exception when closing, and the popover is not removed. This fix checks for support implicitly using the _browserAnimates variable.