Fitting a curve on a graph and open dialog to adjust the parameters before final fitting ...