correct toggling of dynamic form to remove form value