Add modal controller.