corrected z-index dialog modal