add cancel and save buttons where missing and use them to control the modification process of blocks, fixes #53