Text this: A thermally reversible dynamic bond as a magnetic and nonlinear optical switch.