Another widget promise bug fix
Fix persistence API,
it expecited a view dictionary not a dictionary of view promises
Merge pull request #7162 from jdfreder/persist-fixes

Widget persistence fixes