Adding in basic confirmation for delete and reset

this is a good start on #460, using window.confirm to get started. This works in my tests, but would be better if it didn't use a js confirm dialog.