Remove old modals when we create new ones, to free memory.
Fix incorrect IDs being used.
Attempted fix for Done button handler.
Fix context issues with node-click handler.
Merge branch 'lessonplan' of github.com:fuzzie360/coursemology.org into deployment

Conflicts:
	app/assets/javascripts/lesson_plan.js
Merge branch 'materials' of github.com:fuzzie360/coursemology.org into deployment
Reduce diff with main
Fix context issue with Done button.
Merge branch 'materials' of github.com:fuzzie360/coursemology.org into deployment