fix deploy dialog scrolling, added minimal validation