feature #3357: Add option to disable the saved templates functionality

(cherry picked from commit e4904dce6357d204906f43d69c6ddfb8496c05d6)