dialog should set z-index