change loading of events + modal popup when clicking on a shift