fix to stop form submittal on button click