[ui] Show warning about saving docs changes in reports
The documentation editor for BEAT objects reloads the page when the user clicks "Save". This reload discards unsaved changes in the reports app. Unfortunately the documentation system is object-independent, so the entire system can't be changed just for the reports app.
Instead, a warning is shown when editing the documentation in a report.
Closes #528