make formbox a plugin