I did not use foam. first i used the factory panel and made the size base i would need so it would fit perfectly on the plastic. pretty much just covered the top 7". when i say base i mean a sheet of the glass molded over top of the factory panel, about an inch overhang at top top curling over...