Update Template.js

Convert template window to re-sizable window equal a domain edit window