test(modal): remove unneeded injection

Closes #1632