prevent button selection when pressing enter