# Plugin data saving before "Save" button click

**URL:** <https://community.grafana.com/t/plugin-data-saving-before-save-button-click/7551>\
**Category:** Grafana Plugin Development\
**Created:** [May 20, 2018, 10:51am UTC](https://community.grafana.com/t/plugin-data-saving-before-save-button-click/7551 "2018-05-20T10:51:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonyrock](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jonyrock/32/1649_2.png) [@jonyrock](https://community.grafana.com/u/jonyrock)\
**Post date:** [May 20, 2018, 10:51am UTC](https://community.grafana.com/t/plugin-data-saving-before-save-button-click/7551/1 "2018-05-20T10:51:18Z")

</div>

Hi

Imagine that your plugin creates some files on an abstract backend.  
You click “add new file” and then you want to click “Save dashboard”. It would be great

1. Get notification about saving process initiation and do saving which I need in my plugin
2. Stop saving process if plugin failed to save something.

So I can sync `plugin.json` with actual state of all system. Can I achieve this anyhow?
