media lib - bug fix

There was a bug that caused the folder that was just uploaded into to
not re-open after the upload.