Filter mode popup sometimes remains open

UniqueID used in my code is column property.