creating interaction for work detail pages