add close.png and spinner.gif as a base64 string