Dialog's layout node should be a child of viewport