Improve an alert method when it have restorable query editors.