window: use show-close-button property of headerbar