implement remote source mode
add remote source dialog