improve parameterdialog and redo the dialog
modify