I think the OK button should be disabled until the transfer is complete. If OK is clicked before the transfer starts, the transfer doesn't happen. 