when redirecting make encrypt and sign buttons inactive, and don't care about folder...