Dialect failure handling corrected.

bug#1967
clipboard tests