change Fit2D to have a controlling dialog