so your function `openInfoWindow` can close the info window ? In addition, adding an `isOpen` property like that is not really a good practice.