modal for previous cards added