[1711]TextPlugin save current changes before opening other document