Added toggling support to the edition tools.