form setting with modal