Changed lists create/edit function to ajax style