Fixed a bug where opening a modal by data attributes would sometimes open it multiple times.
Tweaked the versions history modal.
Refactored how the editor sets up its special nav through base.jade.