Fixes #77428 by adding a global toggle group which every tool that needs...

... toggling should have set in its config.

Toggling support have been added to a number of actions, namely the PDFPrintAction, NewElementFromCoordinatesAction and others.