Made proper HTML for popup