Add a dialog on Toc "Stop edition"

Add a dialog on Toc "Stop edition" menu action in order to save or discard changes.