add modal window directive