Can't pass the 'Select audio device' screen when plugging in headset

I cannot get past the screen after plugging in the headset. No matter what I press I’m stuck on that screen. Very frustrating. Only a hard reboot is possible.

Edit: This only happens if I dont select either of the options given. If I select an option instead of cancel, the dialog goes away.

Maybe it is something to do with the new PipeWire system? If so, reverting to the previous PulseAudio system is generally the “quick fix”:

$ sudo dnf swap --allowerasing pipewire-pulseaudio pulseaudio

Thanks. It worked.

Edit: Another workaround is to install an extension called ‘Auto select headset’. This will select the audio device for you automatically, hence solving the above mentioned problem