Fix bug: pressing enter on the "forgot password" modal does not submit the form

This fixes https://github.com/discourse/discourse/issues/1190

Move the <form> element so the button is in the same form as the text box.