fixes #2788 - adding / removing puppet classes updates the change even if the form is not submitted