How to make forms in restore mode work again?