Modal closes after editing a nominalization