Introduced resolve target document listener
Test case: resolve target document listener