Reruns/ui

The logic for dismissing notifications seems to be repeated three times: in index.js, overview.js and here in course_outline.js. I'd like to see this logic shared centrally.