It's not clear to me what you mean by this "ghost". Perhaps a screenshot pointing out would help.

As a side question from me, why have you decided to disable the X to close the form? I design and build tools like this for a living and would never do that. I inherited a tool that had that functionality built in and it was the first thing I removed when redeveloping it. As computer users we're conditioned to use that top right corner to close things down, so doing so then being shown a message saying "don't do it this way you're used to doing it, do it this other awkward way instead" is an annoyance to the end user.
If it's that some action can be performed whilst clicking your close button then all that can be handled in the query close event of the userform itself and you'll have happy end users. Well, happier...

BSB