Added template for event dialog.