The behavior when pressing “Esc” in the Variables panel is not working as expected. By default, whenever two or more windows are open, the last child window should be the first one to close when pressing Esc.
In the Variables panel, the behavior is reversed, and the parent window closes instead of the child window.
My suggestion is that, when a sub-window is open inside the Variables panel, pressing Esc multiple times should close each window in the correct hierarchical order.
Reported behavior:

Expected behavior:

