Dropdown improved

When you click elsewhere on the page other than the dropdown, it closes.
However, if there are two dropdowns using this component you can open them, and they will not close until you click elsewhere on the page. It is necessary to improve this situation.