Build mode escape listener