update how to usage new version with modalId and modalContent.