I'm trying to remove the close button from the top right of my dialog with no luck. I want to keep the icon on the top right of the window and I don't want to just disable the close button, I need to remove it. Is there any way of doing this? I can't find a solution anywhere.

Thanks.
Dan.