documents-panel: handle unsaved documents

https://bugzilla.gnome.org/show_bug.cgi?id=724074

Handle of unsaved documents when clicking on close buttons
( DocumentRow corresponding to tab and GroupRow corresponding to notebook )
in documents-panel