Escape button management