Fixes the correct import modal window not showing
What does this MR do?
Fixes the correct import modal not showing. This was caused from moving the JS out of being inline & instead of using the clicked button to get the modal, it just used a generic class name to find it.
What are the relevant issue numbers?
Closes #36318 (closed)