renaming partial to form_modal and fixing some of the spelling errors in the file
fixing model -> modal