Close preview when intellisense is done.