Added Warning  unsaved data

warning 1 unsaved data.
For now not plugged into any event.
Will be integrated in next version