some fix with box ActiveDocument and its reaction on opening new file