added ImageList support in dialog