add spec for modal directive