how to close an undocked window? whenever we try to close the window it enables dock handles and dock it instead of closing</div>