[WIP] Amrykid's Super Awesome Dialog Patch

A few bug fixes for dialogs:
- Fixes #1234
- Fixes #1238
- Fixes an unreported issue having to do with accented buttons on dark themes.