{ if (!opened) { opened = true showPopup(DropdownLabelsPopupIntl, { items, selected }, container, (result) => { if (result) { selected = result dispatch('selected', result) } opened = false }) } }} >