Why is my form is in restore mode?