Fix bug on close div