merge add new card dialogs into single dialog