fixed z-index error when while inside modal