DRYs up MagicBox change listener code, fixes FormEdit#RenderChange