Close web after click the OK button