Why my form is in restore mode?