Destroy overlay div when clicked away

changed plugin so that overlay div isn’t duplicated multiple times