SampleTextPanel now hides on screen keyboard after adding a text.

Also now aded texts are inserted as children of the edition context.