-webkit-transform: translate3d(0,0,0) caused a wierd bug with the dialog