T813-0 Fix dropdown search on dialogs
Hack found on Select2 GitHub issues: https://github.com/ivaynberg/select2/issues/1246