Fixed .arrow() for popovers not addressing the correct 'arrow' class. Th...

(hot) fixed #7771
refactoring with tests is made in #7773