Fixed so that the undo popup dismisses on time.