Add Group prop search to add-on

so how can i have a group prop search in the toolbar?

It’s so that when you choose a group, a button under it sets the objects particle system dupli group to the chosen group.

[SOLVED]
Figured it out myself.