added event delete confirmation dialog, minor cleanups and fixes