prevent event default when pressing enter (it shouldn't submit forms)