Add confirmation modal component

This ticket adds a simple confirmation modal that can be used in
place of window.confirm().

Closes COUCHDB-2445