JBIDE-17818 Need to handle external html / htm files

bug when external file is opened with wtp editor fixed
error message is shown when Editor has no dom model support