diff --git a/js/models/AppState.js b/js/models/AppState.js
index 400314e89861afedea6f079bee7c0634a4db9530..7eed61b9c1505a2eb1f3c6694b4d05a005487a31 100644
--- a/js/models/AppState.js
+++ b/js/models/AppState.js
@@ -191,7 +191,11 @@ define(['underscore', 'backbone', 'threeModel', 'three', 'plist', 'globals'],
 
         _handleKeyStroke: function(e){//receives keyup and keydown
 
-            if ($("input").is(':focus')) return;//we are typing in an input
+
+            if ($("input").is(':focus')) {
+                if (e.keyCode == 27) $(':focus').blur();
+                return;
+            }//we are typing in an input
             if ($("textarea").is(':focus')) return;//we are typing in an input
 
             var state = e.data.state;