The windows will now be removed from the DOM if the close button is pressed, previously it was hidden with css.