Oh, sorry the user interface was so bad. You can get out of the Code input by hitting "Enter" key. But the input must be focused. Just like in the web.