add modal controller