widget factory - add submenus and hover states to popovers