change comportment of the box: added open and close functions to create and delete the div, show and hide to do what they are supposed to do