Need Help With Lists

How can I remove an item from the list when the confirm button is clicked? I tried using the delete but it made the account deleted.

Easiest way is to add the user to a relationship with that record. Something like “users_dismissed”. Then Filter the list so that the items do not include where the user_dismissed contains logged in user.