When deleting a repeat group, form does not give warning

When user accidentally hits the (-) sign in the repeating group, the form does not give warning about losing data. It automatically deletes the repeating group. Is there a way to give a notification first before permanently deleting the repeat?
This is is causing loss of data when the repeat_count is not used. And my question cannot use the repeat_count feature because adding instances depends on the observations of the interviewer. The number of repeat cannot be pre-defined.

Thank you so much in advance.