[PDI-12227] - Don't display warning prompt if there are no open tabs.