in aws-ecs-server/src/main/resources/buildServerResources/ecsSettings.js [282:291]
showAddImageDialog: function () {
$j('#EcsImageDialogTitle').text('Add Amazon Elastic Container Service Cloud Image');
BS.Hider.addHideFunction('EcsImageDialog', this._resetDataAndDialog.bind(this));
this.$addImageButton.val('Add').data('image-id', 'undefined');
this._image = {};
BS.Ecs.ImageDialog.showCentered();
},