Fix drag and drop
Make modules droppable
Remember if a medium is expanded in the toc
Overload toJSON on models