add buttons to cancel the creation of chapters, subchapters and sections, fixes #164