Added a function which **SHOULD** use Javascript to find the GET parameter fileName and put it into the txtFileName box.  For some reason, this does not seem to get called as required.

Fixed most of the issues with the dialog itself, although the controller is currently only able to send things back to the host page using GET parameters.