You shouldn't need to set the z-index, instead make use of one of the already defined classes:
.ui-panel-display-overlay, .ui-panel-display-reveal, .ui-panel-display-push