Re added functionality to submit with enter or ctrl+enter