Add CmdwinEnter, CmdwinLeave.