The focused window should have a shadow
Sometimes (likely most of the time) the dialogs won't resize to fit the full screen. If that happen, their borders can be hard to distinguish from the content of the parent window. I suggest we make the rest of the screen darker (e.g. 50% transparency black) so the dialog can bea easy to distinguish. To make tings simpler, we lokily could simply draw a full dark rectangle behind the focused window, so the screen don't get darker if a dialog spawns another dialog.
That is particularly the case for message dialogs as they don't have a header bar.
Edited by Adrien Plazas