Didn't override the correct method. Should've overriden onCreateDialog instead of getDialog
Fixed a bug with sending a request via POST
Changed to passing the form values via a MultiValueMap
Added the environment address
Changed to an edit text