Prevented folder selection when opening it