Don't adjust the window background color when resuming if a modal dialog is visible, closes #110