Issue #843. Re-editing the study form customization reverts to the global form customization.
Small fixes as suggested.