Confirmation modal

Replacement for #179.