close pager on escape on command mode
Merge pull request #7068 from Carreau/close-pager

close pager on escape on command mode