Fix custom combinations dialog creating a panel even if no items or cancel
were selected.