improved 'same-as' check function + improved how adding the submit button (and disableSubmit) works