Add some normal way of canceling, like esc for keyboard users, and then have a pop-up confirmation window. For mouse users put some X to the top-right like suggested with same confirmation pop-up.