Close preview window before showing ctrlspace