Here we can define what should happen on modechanges. Most commonly we just want to enable/disable the pipe based on selected mode. But this is not always the case. Sometimes we might want to cancel an ongoing process