I am actually having the opposite problem. I have a specific link which shows/hides a div. I want the navigation warning to pop up if the user clicks on the div as a way to remind them to save their work.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users