add 'sendEventToParentApp' method to model, view and helper