adds type-information to popup
adds options for popup-content
adds test for initialization options