hide fields appropriately when editing a spirit

for #49