Also update model for changes inside nested blocks

This fixes the problem where the save button stays grayed out after you edit inside a nested block.