As explained in the help file, the init event is executed just before the opening of the dialog.
If you want to tag on a tab in the init event, use a timer as it :

timer -m 1 1 did -f $dname id_tab