Fixed error with reshowing editor