Prompt: focus textfield on appear, handles Enter and Escape keys

Hi,

You will see the patch in the diff, but i don't know why the patch include some extra remove/new lines ...

Franck