- little layout changes in class plugin
- hide add button if form is in edit mode, fixes #1