Added some Submit button functionality.