Why is my form in restore mode?