[447508] initializing dirty state support only if the source viewer is
created and the editor input is set for XtextEditor

Change-Id: I985a8c48398878f0e4e1dc929b6af70cdd06aeef
Signed-off-by: akosyakov <anton.kosyakov@itemis.de>