How to disable "Select Audio Device" pop-up on Ubuntu 18.04

I'm using Ubuntu 18.04 LTS on a Dell XPS 9570. Every time I plug my headphones in my laptop I get this annoying pop-up that blocks the entire desktop until I select an option. It's very annoying.

Select audio device pop-up

How can I disable it? I cannot believe that in 2019 I need to specify the audio device every time I plug the headphones.


If you are using GNOME, this can be fixed using the Remove Audio Device Selection Dialog extension.