hook up having form submit and transition to readonly