enable enter and ctrl-enter for submitting forms