Fixed demo page to persist submitted data upon edit.