custom modal window and create directive for modal window
merged