fix dashboard delete and cube save (sql empty)
ref https://github.com/angular-ui/ui-codemirror/issues/35