close existing completion popup before opening a new one