mongo working with events index.html needs to be modified with event id for now
window close