to add the gui component in DIDialog