@Simon_ASA: then just use condition for reference:
local condition = getObject("Conditions[".. conditionname.."]")
EDIT: Ok, now it worked. I use the tupel of the object to get the object because they will not change as much as the name does (maybe).
All i have to do is get the table and id of that object out of the explorer (Dump to log) and use the given numbers to get the desired object.
I will post my solution in http://www.visionaire-studio.net/forum/thread/dialog-area-dy...
when the whole thing is finished and cleaned up. Aim is to set the height and position of the dialog area by knowing the number of available displayed lines to avoid the arrows for scrolling.