Gave the div content and made it possible to close