Replace confirm, prompt with ConfirmDialog & PromptDialog

Cf. #136 for the rationale.

I guess what's missing now is an AlertDialog :)

I've tested (by hand) every case where a confirm / prompt dialog should appear, as far as I can tell, but double or triple-checking my code can't hurt.

At any rate, CATS is now a *lot* more usable on Linux now :)