Add closing of preview window for ycm