Adding download dialog to the course overview and the main page.