Pre save commit

Doesn't do anything yet the ui only. Firebase intergration to come.