"choose color" dialog box bug

I was using Anki and was pretty much enjoying the experience, I still recommend this to my friends and family.
but since last week or so, a bug is irritating me

When ever i try to add new card, this box shows up and its nearly impossible to remove it, I cannot close it and hence cannot add any card . The only way out is to press and hold esc key which forcefully closes the box along with the add box.

I’ve tried:

checking database,
deleting all the add-ons
refreshing and restarting
ran antivirus scan
gone through the anki site for problems and tried everyting

all in wain

Error
An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.35 (84dcaa86) Python 3.8.0 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2020-10-06 20:22:14

Caught exception:
Traceback (most recent call last):
File “aqt\progress.py”, line 53, in handler
File “aqt\addcards.py”, line 226, in afterSave
File “aqt\addcards.py”, line 212, in _reject
File “aqt\editor.py”, line 519, in cleanup
File “aqt\editor.py”, line 437, in setNote
RuntimeError: wrapped C/C++ object of type QWidget has been deleted

Caught exception:
Traceback (most recent call last):
File “aqt\progress.py”, line 53, in handler
File “aqt\addcards.py”, line 226, in afterSave
File “aqt\addcards.py”, line 212, in _reject
File “aqt\editor.py”, line 519, in cleanup
File “aqt\editor.py”, line 437, in setNote
RuntimeError: wrapped C/C++ object of type QWidget has been deleted

That looks like the colour selection button (the rainbow one) is being triggered. Are you clicking on it or pressing F8?

yes… i’ve tried pressing F8 as you said but noting happened…

Sorry, I was not suggesting that would fix the problem, I was saying that it seems as if the F8 key is being pressed. Do you use any software on your machine that may alter keystrokes? Does it happen when you open the Add window by clicking on Add, and when you press ‘a’ instead of clicking?