gavity is center in dialog