Inject modal into controller