convert control+enter listener to a button click