Where to place the close button in Dialog?

In my project I have placed the close button in the Title part of the dialog. Almost my project in the final stage, now there is a design issue that in the absence of Title the empty space looks odd. Can any one help me how to resolve the empty spacing in the dialog without title case?

Note: The close button position should not be changed. Since If I change the close button position for this case, It affects the entire dialog UI design.

enter image description here