fixed copypasta in modal gen