escape key back feature working