Click on modals to open the resource.