made escape anywhere in input cancel