Hook into the session end modal so we can go to the next session - works however the session end modal is displayed like 10 times and throttling / debouncing doesn't work