Add a onClickOutside behavior that close the component if clicked outside Selector component doesn't handle its state but receive props from parent u