Bind widget clicks to mousedown rather than click

This ensures that they get run before 'blur', which is when Hallo closes turns
off the editor. (There seems to be a bug that causes Hallo to preventDefault
when there have been no changes; this is a workaround)