insert data into modal