#111490: Added support for toggling in the add layers tools.