[WPF] Don't show the dialog separator when no buttons are visible