Hook up publish switch.
- Confirm save of any changes when publishing
- Add isDirty flag (between set and sync) to the project model
- Handle errors
- Add showProjectSaveErrorModal into v2