be/popupbubble: further fixes and refactors

Small fixes in order for the module to be used in talent search