Change modal forms to use ajax