Disable/enable submit buttons when pressed