diff -r 39c7f34730da web/org.openbravo.mobile.core/lib/onyx/source/Popup.js
--- a/web/org.openbravo.mobile.core/lib/onyx/source/Popup.js	Thu Nov 24 12:27:26 2016 +0100
+++ b/web/org.openbravo.mobile.core/lib/onyx/source/Popup.js	Fri Nov 25 17:04:51 2016 +0100
@@ -82,12 +82,19 @@
 	findZIndex: function() {
 		// a default z value
 		var z = this.defaultZ;
+		OB._maxZindex = OB._maxZindex || 1;
 		if (this._zIndex) {
 			z = this._zIndex;
 		} else if (this.hasNode()) {
 			// Re-use existing zIndex if it has one
 			z = Number(enyo.dom.getComputedStyleValue(this.node, "z-index")) || z;
 		}
+		if (z < OB._maxZindex) {
+		  OB._maxZindex += 2;
+		  z = OB._maxZindex;
+		} else {
+		  OB._maxZindex = z;
+		}
 		return (this._zIndex = z);
 	}
 });
\ No newline at end of file
