bootstrap modals

all new dialogs use bootstrap modal
update jQuery to 2.1
update CodeMirror to 3.21