added controls to dialog. Offset weird