MDL-44762 editor_atto: Closing dropdowns when item is clicked