I figured it out.. just a silly thing.
I did not put the save('Editor1') call in the OnClick of the submit button
thanks