fixes #15

creates an onAction handler for each actions' actions.  This means bindign to a given action is de facto statically checked