BibFormat: confirm before closing template editor
BibFormat: confirm before closing template editor

* Before closing the BibFormat template editor, ask for confirmation if
  there are some unsaved changes left.

inveniosoftware/invenio,tiborsimko/invenio,inveniosoftware/invenio,tiborsimko/invenio