Fix button behaviours (submit on enter)