fix z-index of dialog in preview

the ui-dialog window was behind the editing area, so the z-index was defined