add to popup page, first step to integrating whitelist functions in UI