Fix CtrlP window not hiding right away

Quick fix to hide the CtrlP window before putting the command in the command line instead of after the command is executed.