Why my form hangs while saving changes?