I tried the same thing and stumbled upon the same problem on my Nokia E63!
I also added
fscommand2("SetSoftkeys" , "Exit", "Frame2");
Now, after clicking on the input text field to enter some text, when I pressed the Options soft-key, the Exit command gets executed!
My suggestion is that you deploy your application fullscreen and create custom soft-key text labels.
It's a crude but quick solution.
Hope this helps!