feature #1791: Use HOTPLUG state to prevent saving twice an image. Rename functions and variables to saveas_hot. Use events to triggers save as
feature #1791:HOTPLUG states in delete action