attempting two-way model binding with modal