I took a look at it and it's a bug in your templates. I have put in a temporary fix in the code, but you'll have to fix your template. The problem is that the folder selection form isn't closed before the edit form is started, so the folder_name is being submitted twice.
Adrian
Adrian