close method call prevention when more than one times a same form is opened

But is there any way to stop from calling close method on the second time, or refresh the form and datasource complete before second time calling close method ? please suggest kranthi