Updated CodeMirror to version 3.0.2
Confirm that the user wishes to navigate away from the page