adding more post message events for the widget.