What I want is, the HTML page in the image should appear first
and when a user clicks on "use template" option, the template should be inserted into the
text editor area. This text editor is located on a separate HTML page as I mentioned in point #2
above.

Considering the first red encircled template, I have inspected the code in dreamweaver and found the
following: