Added the beginnings of a modal directive.