make add brain / add link panel work