Thank you very much! The Ruby Script “ObjectSpace.each_object(UI::HtmlDialog, &:center)” solved the problem!