Commiting edit/publish forms functionality