added submit to modal