

Hello, as seen in the image, there is very old and degraded sealant around the glass of my entrance door window.
How would I go about replacing this? I assume I will have to remove the old material but am conscious about the glass coming loose?
Thanks in advance!