Editor windows now warn before closing