#379 - config edit latent array widget

This fixes #379. It also fixes a bug for "Undo" with the same widget. @matthewrmshin, please review.