Fix flickering popover animations

Closes #4138

- Removed JS animation to close in favour of CSS animations
> and will remain fade-out when closing and isOpen is set to false.