Window only opens after cards have been created