fixes #8526 - file uploads are now possible via two_pane.

NOTE this will probably only work with HTML5 based browsers.