Libre office will not let me shut down my mac 10.7

a box comes on that says restore windows, and that prevents any shut down of computer.

See also: LibreOffice startup always asking reopen windows

I searched for solutions and came across the default box I reset defaults, then went to shut down again a box showed up asking if I wanted to shut down libre office and it did problem solved