User is no longer facing the issue anymore with latest InDesign version.
Closing the issue.
Adobe InDesign team
An error occurred while saving the commentАлександр Сераков commented
I found a way to close this window. Select the eyedropper (Color Theme Tool) again and press ESC.