SampleTextPanel now hides on screen keyboard after adding a text.
Also now aded texts are inserted as children of the edition context.
Merge pull request #606 from RotaruDan/sampleTextPanelFixes

SampleTextPanel now hides on screen keyboard after adding a text.