Why is my form in the restore mode?