Insert modrewrite middleware for modes
Switch select input to type="hidden" which select2 expects
Arrange timetable controls into form and cleanup markup
Add select2 control to add modules to timetable directly