Add maxheight to dialog list