Various event popover fixes in the calendar

Fixes https://github.com/my-koop/service.website/issues/348 and allows to dismiss the popover by clicking outside of it.