prepare for modal dialog uploader.