Added parameters to dialog