Added upload file dialog and ability to select a file to upload