Fix for closing / opeing popovers