code: function rebuildInput(form) {
  			form.empty();
  			var inp = $('<input type="file" name="svg_file">').appendTo(form);
  			
  			
  			function submit() {
  				// This submits the form, which returns the file data using svgEditor.processFile()
  				form.submit();
  				
  				rebuildInput(form);
  				$.process_cancel("Uploading...", function() {
  					cancelled = true;
  					$('#dialog_box').hide();
  				});
  			}
  			
  			if(form[0] == open_svg_form[0]) {
  				inp.change(function() {
  					// This takes care of the "are you sure" dialog box
  					svgEditor.openPrep(function(ok) {
  						if(!ok) {
  							rebuildInput(form);
  							return;
  						}
  						submit();
  					});
  				});
  			} else {
  				inp.change(function() {
  					// This submits the form, which returns the file data using svgEditor.processFile()
  					submit();
  				});
  			}
  		}
docs: It appears necessary to rebuild this input every time a file is selected so the same file can be picked and the change event can fire.