Added support for disabling enter-confirm-click