fix new card popover display issues