Use a separate window for smart card management
(cherry picked from commit a00d3fa08f476de6578bd9ac96b35308f8d71142)