This commit was generated using the ember-native-class-codemod along with a handful of manual updates
We need to change the content of this modal in different plugins based on context, so move some parts of it into the JS file.