draw and play card is doing its work but opening new window