change button binding to submit