add dialogs for cards