adds toggleMod to docs
adds hasMod and toggleMod realizations