simplified sendAction in component.js