add onBeforeAdd callback to abort adding for validation

I needed this to make sure that the entered tokens were valid email addresses...others may find this useful