add option to disable the disabling of the submit button
add tests
add documentation