initial commit for displaying event dialog.