fixBackgroundAndDimming

Called from the default setContent function of asDialogHolderWithContent. Fixes the default background and window flag settings that interfere with making a Dialog respect the bounds required by OverlayArea.