fixed issue where unchecking did not close info window