Your solution is perfect and worked great for what I needed!
For anyone who wants to use, I also added a toggle option that would show the Page Link dropdown after the user agrees to the import process. Make sure you clear both of those fields after import, if you go that route.