Prevent multiple editor instances being created.