Added escape key push functionality