allow action to be shared between buttons and menus, without having the text in the button