check if progressDialog finishes after undo/redo