"You have unsaved changes" in custom dashboard

We’ve added a custom dashboard to our project. The dashboard connects to some Api’s that I’ve written (inheriting from UmbracoAuthorizedApiController)

Everything works fine and there is no errors anywhere, but when I want to change the page, the popup box with “You have unsaved changes” message shows up.

What are we missing? How Umbraco detects that there is a change on the page?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/89316-you-have-unsaved-changes-in-custom-dashboard