fixing add card popup