in reply to Re^2: Tk overrideredirect topwindow on topin thread Tk overrideredirect topwindow on top
Thank you for the suggestion. For the moment I went adding
$dialog->repeat(10, sub { $dialog->raise; }); [download]
which makes the GUI respond as intended