You should make your selector more specific. When you apply uniform on the <select>
elements of your dialog, you also re-apply it on the <select>
elements of everywhere.
Try to be as specific as possible when selecting elements in HTML pages. Read about it here.