Adding Dialog class for event in list

I added a class to create a dialog for an event when clicked. Someone take a look and let me know if anything should be changed added or if there are any questions about it.