addActions is called when the buttons get added to the actionTarget.
addOutput is only called when e.g. a dialog opens when a button is pressed.