closed as many files as possible in form wizard.