autoopen and autoclose folds