fixed confirmation dialog

Hi to everyone,

I repost because of a previous error.

i am writing an awt applet. When someone clicks on a button a confirmation “yes/no” dialog pops up. When the user drags (moves) the dialog from it’s title bar and drops it inside the drawing panel (which contains drawings i.e circles,ovals,lines etc.) , the panel contents are erased (destroyed).
Does anyone know how can I make this dialog fixed so that the user couldn’t move it?
Or if that isn’t possible, is there a way to protect my panel’s drawings (lines, circles etc) from being lost when the dialog lies inside the panel?

thanks in advance
thanasis