2038 improve db delete confirmation

This adds a "github like" modal for confirming database deletion. There's scope to dry the code further - making a ModalView to have the various modals inherit from - but I thought pushing this up for review would be good, not least because I've not written any fauxton code for a while. I'm sure there's styling to improve, too.