Fixed bug with disabled buttons getting disabled after form submission.