submit button back on click