converted whitespace to tabs
with Rich made a generic confirmation dialog

Conflicts:
	js/dialogs.js
Fixed conflicts