Coherent control of dispersive waves