Prevent enter on save and set required