working with modal submit