added modal for components