Now it updates the advance of the current taskComponent and its parents when the user accepts but before closing the pop-up.