Updating the demo to show events from a java created modal.