changed preview and popup of adoc editor