Add modal controller