Prevent the button being triggered by enter.