anchor.diff:  									url += '&attributeCodeName=' + attributeCodeName;
   									if (form.isValid()) {
   										form.submit({
  -											url: '/openstorefront/Upload.action?AttributeCodeAttachment',
  +											url: url,
   											waitMsg: 'Uploading file...',
   											success: function () {
   												Ext.toast('Successfully uploaded attachment.', '', 'tr');
   												attachmentUploadWindow.hide();
  +											},
  +											failure: function () {
  +												Ext.toast('Failed to upload attachment.');
   											}
   										});
   									}
  
positive.code: 								text: 'Cancel',
  								iconCls: 'fa fa-close',
  								handler: function () {
  									Ext.getCmp('addPluginWindow').hide();
  								}
  							}
  						]
  
negative.code: 						dock: 'bottom',
  						items: [
  							{
  								text: 'Upload Attachment',
  								iconCls: 'fa fa-save',
  								formBind: true,	
  								handler: function() {
  