Fix : subdialog, variable initilization