onDropdownOpened callback implementation
Also allow to pass undefined to the setActiveItem method, so the popup won't show any active item when opened.