added dispatching of custom events in 1.4.0 apps