detail modals working