Added directives for modal window and confirmation prompt.