Thanks for updating the thread.
Well the code shouldn't have any sort of impact on the close button. I added the code shared by @Jade on my dev setup and it's working perfectly fine. Please see screenshot.
I also checked your website and close button is showing up fine. Here see screenshot.
Please clear browser cache and then open website again.
Let us know how it goes.