Avoid lose of data on input form