MAGN-859 Fixing Caret and selection of text broken in all the dialog.

Causes: Scrollviewer's grid background is set to transparent covering it's content (TextBox)
Merge pull request #829 from l2obin/MAGN-859

MAGN-859 Fixing Caret and selection of text broken in all the dialog