Fixes #5243 - Store the content view next version

TODO:

- [x] Other places using max version?
- [x] Handle existing content views?
- [ ] Refresh the next version in the UI