popovers fix for firefox