finally got the modal dialog to upload the photos
a bit of refactoring
Merge pull request #2 from dcrelling/dc/feature_add_file_upload_to_modal

Dc/feature add file upload to modal