Issue #843. Re-editing the study form customization reverts to the global form customization.

A slightly hackish solution. Fixes this bug plus another FormDesigner (w/ Studies) issue, which are closley related.