turn submit into an action that also saves, to fix clientside getting out of sync errors