[Bug 38201] Newly displayed dialogs have inactive-looking decorations although are actually active