Neither Ctrl Q nor Ctrl W close gnome-tweaks-3.32.0-1.fc30.noarch. Ironically, Alt F4 does.
Ctrl Q
Ctrl W
gnome-tweaks-3.32.0-1.fc30.noarch
Alt F4