diff --git a/src/sunstone/public/app/tabs/vms-tab/actions.js b/src/sunstone/public/app/tabs/vms-tab/actions.js index f4069eabb2..dac473aaaf 100644 --- a/src/sunstone/public/app/tabs/vms-tab/actions.js +++ b/src/sunstone/public/app/tabs/vms-tab/actions.js @@ -390,9 +390,8 @@ define(function(require) { "VM.save_as_template" : { type: "single", call: function() { - Sunstone.getDialog(SAVE_AS_TEMPLATE_DIALOG_ID) - .reset() - .show(); + var dialog = Sunstone.getDialog(SAVE_AS_TEMPLATE_DIALOG_ID); + dialog.show(); }, error: function(req, resp) { Notifier.onError(req, resp);