add z-index to dialogs
add dialog