Added check for overlay div.

Overlay div was added each time the modal was triggered, causing a layering effect. I added a check to ensure that the overlay only gets added a single time.