enable submit on edit