media library - bug fix in folder delete

If a folder w/ images in it was deleted, the app would be exited due to
the form posting.