Add onmouseout event to close modal window