fix YesNo window

Replaced call "confirm window". now the button "Yes" and "No" translated

Sorry for the replacement of tabs to spaces - is strongly reduced readability changes
4 space indents please