modxcms/revolution — pull request #782 by Mark-H (2014-01-08 05:49:24+00:00)
Title: Prevent navigation if there are unsaved changes on the resource panel

After losing yet another half-way finished blog post by an accidental click, I cracked. Four freaking lines of code.

![image](https://f.cloud.github.com/assets/312944/1866139/9bbac702-7828-11e3-88ab-2a51b3dffac8.png)