build properties for popup