add modal to sub view