Adding Events, Dialogs Examples