**Bug Description** When switching focus to another dialog within the editor, all sections unexpectedly expand. **Expected Behavior** Sections should retain their collapsed or expanded state when focus shifts to other dialogs within the editor. **Current Behavior** When the editor dialog loses focus (e.g., switching to another window or dialog), all sections expand automatically. **Steps to Reproduce** 1. Open the editor. 2. Collapse any number of sections. 3. Shift focus to another dialog or window within the editor. 4. Return focus to the editor dialog. **Observed Result** All sections in the editor automatically expand upon refocusing, regardless of their previous state. **Additional Information** Please refer to the attached GIF, which demonstrates the issue and the steps to replicate it. **Environment information:** - OS: Windows 10 - IDE version: 2023.1 IntelliJ Ultimate - plugin version: 2023.3.5-231 - Elasticsearch or OpenSearch version: 7.12.1