moved the x for the processdialog but will have to move it again