fix close modal window