z-index of header is changed for dialog message