Turn off closeOnClick (fixes #382)