diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js
index 9038389329..3508392998 100644
--- a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js
+++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js
@@ -483,7 +483,14 @@ define(function(require) {
usersDatatable: that.usersTable.dataTableHTML,
groupDatatable: that.groupTable.dataTableHTML,
table_sched_actions: ScheduleActions.htmlTable(RESOURCE, Leases.html())
- }) );
+ }
+ )
+ );
+ var objLeases = $.extend(true, {}, that);
+ objLeases.formContext = templatesContext;
+ objLeases.resource = "template";
+ objLeases.__proto__ = FormPanel.prototype;
+ Leases.actions(objLeases);
$(".provision_host_selector" + template_json.VMTEMPLATE.ID, context).data("hostsTable", that.hostsTable);
$(".provision_ds_selector" + template_json.VMTEMPLATE.ID, context).data("dsTable", that.datastoresTable);
diff --git a/src/sunstone/public/app/utils/leases.js b/src/sunstone/public/app/utils/leases.js
index 3065efd334..3ce7038131 100644
--- a/src/sunstone/public/app/utils/leases.js
+++ b/src/sunstone/public/app/utils/leases.js
@@ -52,7 +52,7 @@ define(function(require) {
config.system_config.leases &&
(config.system_config.leases.suspense || config.system_config.leases.terminate)
){
- return $("", {class: classButton}).append(
+ return $("", {class: classButton, type:"button"}).append(
$("", {class: 'fa fa-clock'})
).prop('outerHTML');
}