dialog in InDesign

Hi all

I want to create a dialog box in InDesign that will include color picking box and\or a list of the color list in the color panel.

thank you all…

OK

I got a little bit forword…
now I need to get the list of Swatchs if the front most Document.
The problam is that any way I try - ID return an error message it can’t get list of Swatchs…

any help will be highly appreciated.