Form Issue

I have created a form.whenever i try to close the form it doent close on first click.I have to close it again then it is closed.can anybody tell,wat xactly is the problem?

Did you override the close(),canClose() or any of the closing methods on the form?

No, i have just wriiten a init method on it.