Fix bug with clickDefaultButtonOnEnter option