its working and puts in icons etc but when i tried to dock it i t does this

here is my code
dialog nicklist {
title "Nick"
size -1 -1 86 250
option dbu
list 1, 1 20 83 330, size vsbar
text "Room name", 2, 3 2 80 8
text "Chatters:", 3, 3 10 43 8
text "num", 4, 54 11 29 8, right
}
menu channel {
Nicklist: /dialog -m nicklist nicklist
}
on *:dialog:nicklist:init:*: {
listnicks
}
on *:dialog:nicklist:sclick:1: { echo -a $did(1).seltext }
alias listnicks {
dll dll\rebar.dll Dock $dialog(nicklist).hwnd > right
dll dll\mdx.dll SetMircVersion $version
dll dll\mdx.dll MarkDialog $dname
dll dll\mdx.dll SetFont $dname 1 12 50 verdana
dll dll\mdx.dll SetColor $dname 1 text $rgb (0,0,139)
dll dll\mdx.dll SetControlMDX $dname 1 ListView noheader smallicon hottrack single > dll\views.mdx
did -i $dname 1 1 iconsize normal small
did -i $dname 1 1 seticon normal c:\mirc\icons\owner.ico
did -i $dname 1 1 seticon normal c:\mirc\icons\host.ico
did -i $dname 1 1 seticon normal c:\mirc\icons\no.ico
did -i $dname 1 1 seticon normal c:\mirc\icons\voice.ico
did -i $dname 1 1 seticon normal c:\mirc\icons\tick.ico
did -ra nicklist 4 $nick($active,0)
did -ra nicklist 2 $active
did -r nicklist 1
var %x = 1
while ($nick($active,%x)) {
did -a nicklist 1 0 + $nickicon($nick($active,%x)) $nick($active,%x)
inc %x
}
}
alias nickicon {
if ($left($nick($active,$1).pnick,1) == ~) return 1
if ($left($nick($active,$1).pnick,1) == &) return 2
if ($left($nick($active,$1).pnick,1) == +) return 4
if ($left($nick($active,$1).pnick,1) == %) return 2
else return 3
}







