Reverted button type to submit.