Fix layout Dialog