Created DialogBoxFactory class for events dialogs

All events can now use this class to display their info in a dialog.
Will make it easier to reuse and edit dialogs since all events use the
same dialog