Wire up fileSelect uploading, stagger file uploading when the dialog is in focus