add modal to index