with Rich made a generic confirmation dialog

Conflicts:
	js/dialogs.js