added confirm window line 162