From 4ec68ae91e5c6ffebb1c5ee0ff70b179da750840 Mon Sep 17 00:00:00 2001
From: Matthias Schmidt <gravatronics@live.com>
Date: Sun, 21 Aug 2016 09:25:55 +0200
Subject: [PATCH] Fix issues with dialog visibility

---
 wcfsetup/install/files/style/ui/dialog.scss | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/wcfsetup/install/files/style/ui/dialog.scss b/wcfsetup/install/files/style/ui/dialog.scss
index df5e664532..e98393c188 100644
--- a/wcfsetup/install/files/style/ui/dialog.scss
+++ b/wcfsetup/install/files/style/ui/dialog.scss
@@ -71,8 +71,11 @@
 		}
 	}
 	
-	&[aria-hidden=false] ~ .dialogContainer[aria-hidden=false],
-	&[aria-hidden=false] ~ .dialogContainer[aria-hidden=true]{
+	&[aria-hidden=true] {
+		visibility: hidden;
+	}
+	
+	&[aria-hidden=false] ~ .dialogContainer[aria-hidden=false] {
 		z-index: 50;
 	}
 	
-- 
2.20.1