Added the ability to press ESC to close Command-T