alert except inside editor