Prevent page reload on enter.