implementation of closing the info popup window