Moving parameter settings to dialog