new directive+layout of modal