after submit the button becomes edit and the fields are re-enabled