add confirmation modal

@fjvallarino can you please review this? Thanks. I'm sure there's some extra code that shouldn't be here, but I had no idea what to delete.