fixes #2788 - adding / removing puppet classes happens without form submit