Opening and closing of preferences wozard

I was able to open preferences screen using - import com.intellij.openapi.options.ShowSettingsUtil; showSettingsUtil.getInstance().showSettingsDialog() 

Now I have okay, apply and cancel button to close this preferences. I have one more button in my plugin on click of that I want to close preferences screen.
Can someone help me on this ?

Thanks in Advance.


Please sign in to leave a comment.