add submit button to edit pad