Add modal functionality to resolved