diff --git a/src/skins/vector/css/common.css b/src/skins/vector/css/common.css
index 63d2ac5b75..121fbca7a4 100644
--- a/src/skins/vector/css/common.css
+++ b/src/skins/vector/css/common.css
@@ -107,7 +107,7 @@ a:visited {
     height: 100%;
     background-color: #000;
     opacity: 0.2;
-    z-index: 2000;
+    z-index: 4000;
 }
 
 .mx_Dialog_wrapper {
@@ -132,7 +132,7 @@ a:visited {
     background-color: #fff;
     color: #747474;
     text-align: center;
-    z-index: 2010;
+    z-index: 4010;
     font-weight: 300;
     font-size: 16px;
     position: relative;