Delete blocks when menu is deleted. Fixes #526

Fixes habari/habari#526