update dialog z-index