gave popup dialog a z-index of 10