Darkmode dialogs were lightened so they stand out from the background. It causes problems, such as red errors not being readable. I think we can darken the dialogs but provide a lighter 1px border to avoid blending. The AI dialog already does this.