My bad, ASerge, please find included a simple project that illustrates the problem.
The icon I want to add is Action.ico When you run the program, you should see the main form looking like in the first image. Then, when you press on the button "Show Dialog" you should see the dialog as in the second image.