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.
Co-authored-by: Peter Wagenet <peter.wagenet@gmail.com>