adding the worker dialog box when calculating the solution