Filter mode popup sometimes remains open

I have created a custom filter template with filter mode SimpleWithMenu.
In the filterValueTemplate I have a multi select dropdown. When a filter data and the dropdown close, but adter clicking on the filter mode selector and clicking on the Delete button, the popup remains open.
On the image below, you can see that the closePopup has a diplay style "none" and the popup length is 1, so it just returns from the closePopup JS function.
Why do you check for popups.length > 1 not for popups.length > 0

In the HTML the popup is rz-open and style is display: block.

Hmm the problem is more complex. Two columns filter type selector popup gets the same Id in the HTML code.

Now I see the problem, but can you help me how to solve it.
Both column has a List and filters on the ID sub property.
The RadzenDataGridFilterMenu (filter type selector) uses thw following code to generate popupId.
filterId = $"{Grid.PopupID}{Column.GetFilterProperty()}fm";
The FilterPoroperty will be the sub property (Id) for both columns, so this is not unique.

This will help with our next update early next week:

As I see, this UniqueId is a parameter of the grid, so I have to set this value manually.
Maybe UniqueID should return the Property if UniqueID is null, as used for example here

UniqueID used in my code is column property.